import axios from '@/utils/request';

export function getLoadButtonIsShow(params) {
    return axios.post({
        url: '/config-home/loadButtonIsShow',
        data: params
    }).then((res) => {
        return res
    })
}

export function getConfigHomeListAll(params) {
    return axios.post({
        url: '/config-home/listAll',
        data: params
    }).then((res) => {
        return res
    })
}
export function getConfigHomeList(params) {
    return axios.post({
        url: '/config-home/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editConfigHome(params) {
    return axios.post({
        url: '/config-home/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteConfigHome(params) {
    return axios.post({
        url: '/config-home/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadConfigHome(params) {
    return axios.post({
        url: '/config-home/load',
        data: params
    }).then((res) => {
        return res
    })
}

